<%-- 
    Document   : viewusers
    Created on : Jun 2, 2012, 8:11:06 AM
    Author     : FRIENDS
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script src="userslist.js" ></script>
    </head>
    <body onload="showusers('all','joindate desc')">
        select users: <select name="users" id="users" onchange="showusers(this.value,document.getElementById('order').value)" >
            
            <option value="all">all users</option>
            <option value="faculty">faculty</option>
            <option value="student">students</option>
        </select>
        
        select view order : <select name="order" id="order" onchange="showusers(document.getElementById('users').value,this.value)">
            <option value="userid">name</option>
            <option value="joindate desc">join date</option>
        </select>
        <div id="list" style=" margin-top: 40px;" ></div>
    
    </body>
</html>
